<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@page import="com.proj.Depart" %>
    <%@page import="java.util.*" %>
    <%@page import="com.dao.*" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="oa/Css/E-query.css" />
<script src="js/jquery-1.8.3.js" type="text/javascript"></script>
	<script type="text/javascript">
		$(function(){
				$('.e-mainten>ul>li>a').click(function(){
					$(this).toggleClass('expanded').siblings('.submenu').slideToggle();
					$(this).closest('li').toggleClass('action').siblings('.action').removeClass('action').find('>a').toggleClass('expanded').siblings('.submenu').slideToggle();
				})
			})

</script>
<title>Insert title here</title>
</head>
<body>
	<div class="e-query" >
		选择部门：&nbsp;&nbsp;
		
		<select name="name">
			<option value=0>--请选择部门 --</option>
			
			 <% 
		 	List<Depart> list = (List<Depart>) request.getAttribute("list");
			for(Depart d:list){
			%>
		  <option >
				<%=d.getD_name()%>
		  </option>
		    <%}%>
			
			
		</select>
	</div>
	<input class="query" type="button" value="查询员工"/>
	<div class="table">
		<table border="1" width="700">
			<tr>
				<td>登录名</td>
				<td>姓名</td>
				<td>所属部门</td>
				<td>性别</td>
				
				
			</tr>
			<tr>
				<td></td>
				<td></td>
				<td></td>
				<td></td>
				
			</tr>
			<tr>
				<td></td>
				<td></td>
				<td></td>
				<td></td>
				
			</tr>
			<tr>
				<td></td>
				<td></td>
				<td></td>
				<td></td>
				
			</tr>
			<tr>
				<td></td>
				<td></td>
				<td></td>
				<td></td>
				
			</tr>
		</table>
	</div>
	
</body>
</html>
<!-- <option>
				<ul>
					<li><a href="#">总公司</a><br/>
						<ul class="submenu">
							<option><li><a href="#">总经理办公室</a></li><br/></option>
							<option><li><a href="#">财务部</a></li><br/></option>
							<option><li><a href="#">人力资源部</a></li><br/></option>
							<option><li><a href="#">行政部</a></li><br/></option>
							<option><li><a href="#">业务部</a></li><br/></option>
							<option><li><a href="#">技术部</a></li><br/></option>
						</ul>
					</li>
				</ul> 
			<option>
				<ul>
					<li><a href="#">泉州分公司</a><br/>
						
						<ul class="submenu">
						<option>
							<li><a href="#">业务部</a></li>
						</option>
						</ul>
						
						
					</li>
				</ul>
			</option>
			<option>
				<ul>
					<li><a href="#">厦门分公司</a><br/>
						<ul class="submenu">
							<option><li><a href="#">业务部</a></li></option>
						</ul>
					</li>
				</ul>
			</option>  -->